//
//  ShipinModel.m
//  Products_B
//
//  Created by lanou on 16/6/3.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "ShipinModel.h"

@implementation ShipinModel


+ (NSMutableArray *)shipinModelAnalyseDataWithJsonDic:(NSDictionary *)jsonDic {
    NSMutableArray *modelArray = [NSMutableArray array];
    NSArray *dataArray = jsonDic[@"data"][@"data"];
    for (NSDictionary *dic in dataArray) {
        ShipinModel *model = [[ShipinModel alloc] init];
        [model setValuesForKeysWithDictionary:dic];
        [modelArray addObject:model];
    }
    return modelArray;
}

@end
